﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Food
{
    public interface IFoodTime
    {
        void AddFoodTime(int foodId, TimeSpan startTime, TimeSpan endTime,ref Model.NutriLeafDBEntities context);

        void AddFoodTime(Model.FoodTime foodTime, ref Model.NutriLeafDBEntities context);

        void RemoveFoodTime(int foodTime, ref Model.NutriLeafDBEntities context);

        List<Model.FoodTime> GetFoodTime(int foodId, ref Model.NutriLeafDBEntities context);
    }
}